aboutsummaryrefslogtreecommitdiff
path: root/src/pages/create/[board].astro
blob: 9c2308fc94b6ebe8b93fa5b52aa59391abfb2e12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
import Default from '../../layouts/Default.astro';
import Form from '../../components/Form.astro';

const { board } = Astro.params;
---

<Default>
  <h1>{board}</h1>

  <Form board={board} tid="niggers">
    <form id="form" method="post" action="/create/thread" onsubmit="document.getElementById('submit-button').disabled = true">
      <textarea name="ThreadName" placeholder="Thread Name" style="height: 1.5rem; width: 350px;"></textarea> <br>
      <textarea name="ThreadText" placeholder="Thread Contents" style="height: 150px; width: 350px;"></textarea>
      <br> <input id="submit-button" type="submit" value="Create Thread" />
      <input id="image" type="file" accept=".png,.jpg,.gif,.bmp,.mp4" />
    </form>
  </Form>
</Default>

<style>
  :root {
    --wdt: 360px;
  }
</style>